﻿using System;

namespace QuantBox
{
    public class InstrumentData
    {       
        public string? Id { get; set; }
        public string? Symbol { get; set; }
        public string? ExchangeCode { get; set; }
        public string? Abbrev { get; set; }
        public double RoundLot { get; set; }
        public string? SectorCode { get; set; }
        public string? SectorName { get; set; }
        public string? IndustryCode { get; set; }
        public string? Industry { get; set; }
        public string? Type { get; set; }
        public string? Concept { get; set; }
        public string? Exchange { get; set; }
        public string? Board { get; set; }
        public string? Status { get; set; }
        public string? SpecialType { get; set; }
        public double MarginRate { get; set; }
        public double Factor { get; set; }
        public string? UnderlyingId { get; set; }
        public string? UnderlyingSymbol { get; set; }
        public string? SettlementMethod { get; set; }
        public string? Product { get; set; }
        public double TickSize { get; set; }
        public string? CallOrPut { get; set; }
        public DateTime ListedDate { get; set; }
        public DateTime MaturityDate { get; set; }
        public DateTime ExerciseDate { get; set; }
        public DateTime SettlementDate { get; set; }
        public string? DeliveryMonth { get; set; }
        public DateTime LastDeliveryDate { get; set; }

        public override string ToString()
        {
            return Id ?? string.Empty;
        }
    }
}
